export default {
    /*
    * 管理员验证查询
    * */
    checked: async function (data = {}) {
        return new Promise(function (resolve, reject) {
            wx.cloud.callFunction({
                name: "admin",
                data: {actionName: "checked", data: data},
                success: function (res) {
                    resolve(res)
                },
                fail: function (res) {
                    reject({
                        success: false,
                        msg: "获取失败"
                    })
                }
            })
        })
    }
}